/*
**  File: /Users/jd/progs/aquad/sub/lib/MenuFuncts.h
*/
#include "General.h"
#include "MenuTypes.h"
void MenuStat( void );
void DoExec( void );
Menu *SetMenu( Menu *menu, MenuItem *menulist );
Menu *SetOneMenu( char *string );
Menu *ResetMenu( Menu *menu );
int ReadMenuItem( void );
void ProcessMenuError( const int err_level );
void MError( void );
Boolean MReadText( char *txt, size_t size, const char delim );
Boolean MReadText2( char *txt, size_t size, const char delim );
void MReadWord( char *word );
void MReadWord2( char *word, const char delim );
void EnableMenuItem( const int item );
void DisableMenuItem( const int item );
MenuItem *FindMenuItemPtr( char *word );
int FindMenuItem( char *word );
char *GetMenuItemKey( const int item );
MenuItem *GetMenuItemPtr( const int item );
void SetSubMenu( Menu *mainmenu, const int item, Menu *menu, MenuItem *menulist );
Menu *SetOptions( Menu *options, MenuItem *optionlist );
Boolean ReadOption( void );
void ModOption( const int item, char *word );
void PrintOptionVal( const int item );
int GetOptionSubItem( const int item );
float GetOptionRVal( const int item );
int GetOptionIVal( const int item );
char *GetOptionCVal( const int item );
Boolean OptionTrue( const int item );
